#pragma once

#include "../common/logger.h"
#include <Vfw.h>

#ifdef LOG4CPLUSLOGGER
extern log4cplus::Logger logger_;
#endif

class CHelper
{
public:
	CHelper(void);
	~CHelper(void);

public:
	int GetScreenRect(void);
	int Init(const CString& strTempPath);
	int InitOption();

	int Record();
	int StopRecord();
	int RecordProc();

private://logger
	LOG_CLASS_DECLARE();

private:
	int m_nWidth;
	int m_nHeight;
	int m_nFPS;
	int m_nCompressor;
	int m_nPicBits;
	ICINFO * m_pCompressorInfo;

	HWND m_hWndGlobal;
	CString m_strTempPath;
};
